﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hotpro.aspx.cs" Inherits="WebSite.cn.hotpro" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>
<%@ Register Src="leftimgs.ascx" TagName="leftimgs" TagPrefix="uc5" %>
<%@ Register Assembly="CustomList" Namespace="CustomList" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <center>
	<uc1:head ID="head_1" runat="server" />
<div id="container">
   
   <div id="left"  style="float:left;"> 
	   <uc2:category ID="category_1" runat="server" />
	   <uc5:leftimgs ID="leftimgs_1" runat="server" />     
   </div>

    <div id="con"  style="float:left;">
      <div class="location"><a href="index.aspx">所在位置</a> > <span class="text_red03"><%=content%></span>
      <span style="margin-left:50px;"> 价格分类：<%= linkPrice %></span>
      </div>
      <div style="width:100%"  align="left" >  <img src="images/span_solid.png" width="750px" alt="" /></div>
         <div style="width:100%; text-align:left;"><%=sLoginMessage%> </div>
	  <div class="pro">
        <cc1:CustomList ID="productsList" runat="server"  EmptyText="暂无产品." RepeatDirection="Horizontal"  OnPageIndexChanged="PageChanged" PageSize="50" RepeatColumns="4" CellPadding="0" Width="100%" CurrentPageIndex="1" ForeColor="#333333" CssClass="table_pro03" OnItemDataBound="DataList1_ItemDataBound">
           <ItemTemplate>
             <br /><br />			   
   <div style="border-width:0px; border-color:#ddd;  border-style:solid; margin:15px 10px 0px 10px; ">
 <p>             
			    <a href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>&sid=<%=Request.QueryString["sid"] %>>
			    <asp:Image ID="Image1" runat="server" ImageUrl=<%# DataBinder.Eval(Container.DataItem, "propic2") %> CssClass="img02" BorderWidth="1px"></asp:Image></a>
			    </p>
<br/>
				<ul>
                <li style="height:36px;" ><a  title='<%# DataBinder.Eval(Container.DataItem, "proname").ToString()%>'  href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>&sid=<%=Request.QueryString["sid"] %>><%# DataBinder.Eval(Container.DataItem, "proname").ToString().Length >20 ? DataBinder.Eval(Container.DataItem, "proname").ToString().Substring(0,20) : DataBinder.Eval(Container.DataItem, "proname")  %> </a></li>
			    <li style="height:18px;">
                   <asp:Label ID="price" runat="server" CssClass="text_red" Text=<%# sPriceName + String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %>></asp:Label><asp:Label ID="Label1" runat="server" CssClass="text_red" Text=<%# String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %> Visible="false"></asp:Label></li>
				   
				</ul>
</div>
		   </ItemTemplate>
		 </cc1:CustomList>
	  </div>
   </div>
	 
</div>
  <uc3:bottom ID="bottom_1" runat="server"   />
</center>
</body>
</html>

